<p>
  {{ message }}
  <a href="#" (click)="collapse.toggle()" [attr.aria-expanded]="!detailsCollapsed" aria-controls="collapseExample">
    Details
  </a>
</p>

<div #collapse="ngbCollapse" [(ngbCollapse)]="detailsCollapsed">
  <div class="card card-body">
    {{ error }}
  </div>
</div>
